package com.leihao.product.domian.vo;

import com.leihao.product.domian.*;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class  ProductVo extends Product {
    /**
     * 商品分类编号拼接字符串
     */
    private String productTypeIds;
    /**
     * 商品分类名称
     */
    private String productTypeName;
    /**
     * 商品品牌名称
     */
    private String productBrandName;
    /**
     * 商品类型名称
     */
    private String productAttrName;

    /**
     * 关联专题
     * @return
     */
    private Integer[] subjectIds;
    /**
     * 商品分类级联
     * @return
     */
    private Integer[] productTypeIdList;
    /**
     * 商品优选级联
     * @return
     */
    private Integer[] preferenceIds;

    /**
     * 服务保证多选框
     * @return
     */
    private Integer[] serviceGuaranteeIds;
    /**
     * 阶梯价格列表
     * @return
     */
    private List<ProductLadder> ladderList;
    /**
     * 会员价格列表
     * @return
     */
    private List<MemberPrice> memberPriceList;
    /**
     * 满减价格列表
     * @return
     */
    private List<ProductFullReduction> fullReductionList;

    public Integer[] getPreferenceIds() {
        return preferenceIds;
    }

    public void setPreferenceIds(Integer[] preferenceIds) {
        this.preferenceIds = preferenceIds;
    }

    public ProductVo(String productTypeIds, String productTypeName, String productBrandName, String productAttrName, Integer[] subjectIds, Integer[] productTypeIdList, Integer[] preferenceIds, Integer[] serviceGuaranteeIds, List<ProductLadder> ladderList, List<MemberPrice> memberPriceList, List<ProductFullReduction> fullReductionList) {
        this.productTypeIds = productTypeIds;
        this.productTypeName = productTypeName;
        this.productBrandName = productBrandName;
        this.productAttrName = productAttrName;
        this.subjectIds = subjectIds;
        this.productTypeIdList = productTypeIdList;
        this.preferenceIds = preferenceIds;
        this.serviceGuaranteeIds = serviceGuaranteeIds;
        this.ladderList = ladderList;
        this.memberPriceList = memberPriceList;
        this.fullReductionList = fullReductionList;
    }

    public ProductVo(Integer productId, String productPic, String productName, String productNumber, Integer isListing, Integer isNew, Integer isRecommended, Integer isSort, Integer salesVolume, Integer productStatus, Integer isDelete, String productSubheading, String productIntroduce, BigDecimal productPrice, BigDecimal productMarketPrice, Integer productInventory, String productUnit, BigDecimal productWeight, Integer productTypeId, Integer productBrandId, Integer productPoints, Integer productGrow, Integer pointsBuyRestrict, Integer productForetell, String detailsTitle, String detailsDescription, String productKeyword, String productRamark, Integer preferentialMode, Integer productAttrId, Date startTime, Date endTime, BigDecimal promotionPrice, String productTypeIds, String productTypeName, String productBrandName, String productAttrName, Integer[] subjectIds, Integer[] productTypeIdList, Integer[] preferenceIds, Integer[] serviceGuaranteeIds, List<ProductLadder> ladderList, List<MemberPrice> memberPriceList, List<ProductFullReduction> fullReductionList) {
        super(productId, productPic, productName, productNumber, isListing, isNew, isRecommended, isSort, salesVolume, productStatus, isDelete, productSubheading, productIntroduce, productPrice, productMarketPrice, productInventory, productUnit, productWeight, productTypeId, productBrandId, productPoints, productGrow, pointsBuyRestrict, productForetell, detailsTitle, detailsDescription, productKeyword, productRamark, preferentialMode, productAttrId, startTime, endTime, promotionPrice);
        this.productTypeIds = productTypeIds;
        this.productTypeName = productTypeName;
        this.productBrandName = productBrandName;
        this.productAttrName = productAttrName;
        this.subjectIds = subjectIds;
        this.productTypeIdList = productTypeIdList;
        this.preferenceIds = preferenceIds;
        this.serviceGuaranteeIds = serviceGuaranteeIds;
        this.ladderList = ladderList;
        this.memberPriceList = memberPriceList;
        this.fullReductionList = fullReductionList;
    }

    public Integer[] getSubjectIds() {
        return subjectIds;
    }

    public void setSubjectIds(Integer[] subjectIds) {
        this.subjectIds = subjectIds;
    }

    public Integer[] getProductTypeIdList() {
        return productTypeIdList;
    }

    public void setProductTypeIdList(Integer[] productTypeIdList) {
        this.productTypeIdList = productTypeIdList;
    }

    public Integer[] getServiceGuaranteeIds() {
        return serviceGuaranteeIds;
    }

    public void setServiceGuaranteeIds(Integer[] serviceGuaranteeIds) {
        this.serviceGuaranteeIds = serviceGuaranteeIds;
    }

    public List<ProductLadder> getLadderList() {
        return ladderList;
    }

    public void setLadderList(List<ProductLadder> ladderList) {
        this.ladderList = ladderList;
    }

    public List<MemberPrice> getMemberPriceList() {
        return memberPriceList;
    }

    public void setMemberPriceList(List<MemberPrice> memberPriceList) {
        this.memberPriceList = memberPriceList;
    }

    public List<ProductFullReduction> getFullReductionList() {
        return fullReductionList;
    }

    public void setFullReductionList(List<ProductFullReduction> fullReductionList) {
        this.fullReductionList = fullReductionList;
    }

    public ProductVo(String productTypeIds, String productTypeName, String productBrandName, String productAttrName, Integer[] subjectIds, Integer[] productTypeIdList, Integer[] serviceGuaranteeIds, List<ProductLadder> ladderList, List<MemberPrice> memberPriceList, List<ProductFullReduction> fullReductionList) {
        this.productTypeIds = productTypeIds;
        this.productTypeName = productTypeName;
        this.productBrandName = productBrandName;
        this.productAttrName = productAttrName;
        this.subjectIds = subjectIds;
        this.productTypeIdList = productTypeIdList;
        this.serviceGuaranteeIds = serviceGuaranteeIds;
        this.ladderList = ladderList;
        this.memberPriceList = memberPriceList;
        this.fullReductionList = fullReductionList;
    }

    public ProductVo(Integer productId, String productPic, String productName,
                     String productNumber, Integer isListing, Integer isNew,
                     Integer isRecommended, Integer isSort, Integer salesVolume,
                     Integer productStatus, Integer isDelete, String productSubheading,
                     String productIntroduce, BigDecimal productPrice,
                     BigDecimal productMarketPrice, Integer productInventory,
                     String productUnit, BigDecimal productWeight, Integer productTypeId,
                     Integer productBrandId, Integer productPoints, Integer productGrow,
                     Integer pointsBuyRestrict, Integer productForetell,
                     String detailsTitle, String detailsDescription, String productKeyword,
                     String productRamark, Integer preferentialMode, Integer productAttrId,
                     Date startTime, Date endTime, BigDecimal promotionPrice, String productTypeIds,
                     String productTypeName, String productBrandName, String productAttrName,
                     Integer[] subjectIds, Integer[] productTypeIdList,
                     Integer[] serviceGuaranteeIds, List<ProductLadder> ladderList,
                     List<MemberPrice> memberPriceList, List<ProductFullReduction> fullReductionList) {
        super(productId, productPic, productName, productNumber, isListing, isNew, isRecommended, isSort, salesVolume, productStatus, isDelete, productSubheading, productIntroduce, productPrice, productMarketPrice, productInventory, productUnit, productWeight, productTypeId, productBrandId, productPoints, productGrow, pointsBuyRestrict, productForetell,detailsTitle, detailsDescription, productKeyword, productRamark, preferentialMode, productAttrId, startTime, endTime, promotionPrice);
        this.productTypeIds = productTypeIds;
        this.productTypeName = productTypeName;
        this.productBrandName = productBrandName;
        this.productAttrName = productAttrName;
        this.subjectIds = subjectIds;
        this.productTypeIdList = productTypeIdList;
        this.serviceGuaranteeIds = serviceGuaranteeIds;
        this.ladderList = ladderList;
        this.memberPriceList = memberPriceList;
        this.fullReductionList = fullReductionList;
    }

    public String getProductTypeIds() {
        return productTypeIds;
    }

    public void setProductTypeIds(String productTypeIds) {
        this.productTypeIds = productTypeIds;
    }

    public String getProductTypeName() {
        return productTypeName;
    }

    public void setProductTypeName(String productTypeName) {
        this.productTypeName = productTypeName;
    }

    public String getProductBrandName() {
        return productBrandName;
    }

    public void setProductBrandName(String productBrandName) {
        this.productBrandName = productBrandName;
    }

    public String getProductAttrName() {
        return productAttrName;
    }

    public void setProductAttrName(String productAttrName) {
        this.productAttrName = productAttrName;
    }

    public ProductVo(String productTypeIds, String productTypeName, String productBrandName, String productAttrName) {
        this.productTypeIds = productTypeIds;
        this.productTypeName = productTypeName;
        this.productBrandName = productBrandName;
        this.productAttrName = productAttrName;
    }

    public ProductVo(Integer productId, String productPic, String productName, String productNumber, Integer isListing, Integer isNew, Integer isRecommended, Integer isSort, Integer salesVolume, Integer productStatus, Integer isDelete, String productSubheading, String productIntroduce, BigDecimal productPrice, BigDecimal productMarketPrice, Integer productInventory, String productUnit, BigDecimal productWeight, Integer productTypeId, Integer productBrandId, Integer productPoints, Integer productGrow, Integer pointsBuyRestrict, Integer productForetell, String detailsTitle, String detailsDescription, String productKeyword, String productRamark, Integer preferentialMode, Integer productAttrId, Date startTime, Date endTime, BigDecimal promotionPrice, String productTypeIds, String productTypeName, String productBrandName, String productAttrName) {
        super(productId, productPic, productName, productNumber, isListing, isNew, isRecommended, isSort, salesVolume, productStatus, isDelete, productSubheading, productIntroduce, productPrice, productMarketPrice, productInventory, productUnit, productWeight, productTypeId, productBrandId, productPoints, productGrow, pointsBuyRestrict, productForetell, detailsTitle, detailsDescription, productKeyword, productRamark, preferentialMode, productAttrId, startTime, endTime, promotionPrice);
        this.productTypeIds = productTypeIds;
        this.productTypeName = productTypeName;
        this.productBrandName = productBrandName;
        this.productAttrName = productAttrName;
    }

    public ProductVo() {
    }


}
